﻿namespace Test.Api
{
    /// <summary>
    /// 登入模型
    /// </summary>
    public class LoginModel
    {
        /// <summary>
        /// 名字
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
    }

    /// <summary>
    /// JwtOption
    /// </summary>
    public class JwtOption
    {
        /// <summary>
        /// 密钥
        /// </summary>
        public string? SecretKey { get; set; }

        /// <summary>
        /// 发行人
        /// </summary>
        public string? Issuer { get; set; }

        /// <summary>
        /// 拥护者
        /// </summary>
        public string? Audience { get; set; }

        /// <summary>
        /// 过期时间分钟
        /// </summary>
        public int Expire { get; set; }
    }
}
